Optimal. Leaf size=815 \[ -\frac {5 d^2 e^{-\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5 d^2 e^{\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{1-n} d^2 e^{-\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {3 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{1-n} d^2 e^{\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {3 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-n} d^2 e^{-\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {5 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-n} d^2 e^{\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {5 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {7^{-1-n} d^2 e^{-\frac {7 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {7 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {7^{-1-n} d^2 e^{\frac {7 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {7 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.43, antiderivative size = 815, normalized size of antiderivative = 1.00, number of steps
used = 15, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {4809, 4491,
3389, 2212} \begin {gather*} -\frac {5 d^2 e^{-\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \text {Gamma}\left (n+1,-\frac {i (a+b \text {ArcSin}(c x))}{b}\right ) \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n}}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{1-n} d^2 e^{-\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \text {Gamma}\left (n+1,-\frac {3 i (a+b \text {ArcSin}(c x))}{b}\right ) \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n}}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-n} d^2 e^{-\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \text {Gamma}\left (n+1,-\frac {5 i (a+b \text {ArcSin}(c x))}{b}\right ) \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n}}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {7^{-n-1} d^2 e^{-\frac {7 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \text {Gamma}\left (n+1,-\frac {7 i (a+b \text {ArcSin}(c x))}{b}\right ) \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n}}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5 d^2 e^{\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{1-n} d^2 e^{\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {3 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-n} d^2 e^{\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {5 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {7^{-n-1} d^2 e^{\frac {7 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {7 i (a+b \text {ArcSin}(c x))}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2212
Rule 3389
Rule 4491
Rule 4809
Rubi steps
\begin {align*} \int x \left (d-c^2 d x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right )^n \, dx &=\frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right )^n \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \cos ^6(x) \sin (x) \, dx,x,\sin ^{-1}(c x)\right )}{c^2 \sqrt {1-c^2 x^2}}\\ &=\frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \left (\frac {5}{64} (a+b x)^n \sin (x)+\frac {9}{64} (a+b x)^n \sin (3 x)+\frac {5}{64} (a+b x)^n \sin (5 x)+\frac {1}{64} (a+b x)^n \sin (7 x)\right ) \, dx,x,\sin ^{-1}(c x)\right )}{c^2 \sqrt {1-c^2 x^2}}\\ &=\frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \sin (7 x) \, dx,x,\sin ^{-1}(c x)\right )}{64 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (5 d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \sin (x) \, dx,x,\sin ^{-1}(c x)\right )}{64 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (5 d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \sin (5 x) \, dx,x,\sin ^{-1}(c x)\right )}{64 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (9 d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \sin (3 x) \, dx,x,\sin ^{-1}(c x)\right )}{64 c^2 \sqrt {1-c^2 x^2}}\\ &=\frac {\left (i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-7 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{7 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (5 i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (5 i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (5 i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-5 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (5 i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{5 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (9 i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-3 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (9 i d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{3 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{128 c^2 \sqrt {1-c^2 x^2}}\\ &=-\frac {5 d^2 e^{-\frac {i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5 d^2 e^{\frac {i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{1-n} d^2 e^{-\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {3 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{1-n} d^2 e^{\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {3 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-n} d^2 e^{-\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {5 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-n} d^2 e^{\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {5 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {7^{-1-n} d^2 e^{-\frac {7 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {7 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}-\frac {7^{-1-n} d^2 e^{\frac {7 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {7 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{128 c^2 \sqrt {1-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 2.60, size = 603, normalized size = 0.74 \begin {gather*} -\frac {5^{-n} 21^{-1-n} d^3 e^{-\frac {7 i a}{b}} \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{-3 n} \left (105^{1+n} e^{\frac {6 i a}{b}} \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{2 n} \text {Gamma}\left (1+n,-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )+\left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \left (105^{1+n} e^{\frac {8 i a}{b}} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{2 n} \text {Gamma}\left (1+n,\frac {i (a+b \text {ArcSin}(c x))}{b}\right )+9\ 5^n 7^{1+n} e^{\frac {4 i a}{b}} \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{2 n} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^n \text {Gamma}\left (1+n,-\frac {3 i (a+b \text {ArcSin}(c x))}{b}\right )+9\ 5^n 7^{1+n} e^{\frac {10 i a}{b}} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{2 n} \text {Gamma}\left (1+n,\frac {3 i (a+b \text {ArcSin}(c x))}{b}\right )+3^{1+n} \left (7^{1+n} e^{\frac {2 i a}{b}} \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{3 n} \text {Gamma}\left (1+n,-\frac {5 i (a+b \text {ArcSin}(c x))}{b}\right )+7^{1+n} e^{\frac {12 i a}{b}} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{2 n} \text {Gamma}\left (1+n,\frac {5 i (a+b \text {ArcSin}(c x))}{b}\right )+5^n \left (\left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{3 n} \text {Gamma}\left (1+n,-\frac {7 i (a+b \text {ArcSin}(c x))}{b}\right )+e^{\frac {14 i a}{b}} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{2 n} \text {Gamma}\left (1+n,\frac {7 i (a+b \text {ArcSin}(c x))}{b}\right )\right )\right )\right )\right )}{128 c^2 \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.14, size = 0, normalized size = 0.00 \[\int x \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}} \left (a +b \arcsin \left (c x \right )\right )^{n}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x\,{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^n\,{\left (d-c^2\,d\,x^2\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________